package servlet;

import service.UserService;

import java.io.IOException;
import jakarta.servlet.*;
import jakarta.servlet.http.*;

public abstract class ServletBase extends HttpServlet {

    protected static UserService userService = new UserService(); 

    public ServletBase() {
        super();
    }

    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) 
                         throws ServletException, IOException {
        doPost(request, response);
    }
}
